package xyz.hubery.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@ApiModel(value = "购买GCN参数")
@Data
public class BuyGCNParam {

    @ApiModelProperty("币种id")
    @NotNull
    private Long coinId;

    @ApiModelProperty("购买金额")
    @NotNull
    private BigDecimal mum;

    @ApiModelProperty("购买数量")
    @NotNull
    private BigDecimal num;
}
